package cn.itcast.weatherapp123.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/*
    "cityid":"101281901",
    "city":"揭阳",
    "cityEn":"jieyang",
    "country":"中国",
    "countryEn":"China",
    "update_time":"2022-11-16 14:24:15",
* */
public class WeatherBean implements Serializable {

  @SerializedName("cityid")
    private String cityId;

  @SerializedName("city")
    private String city;

  @SerializedName("update_time")
    private String update_time;

  @SerializedName("data")
    private List<DayWeatherBean> dayWeathers;

  public String getCityId() {
    return cityId;
  }

  public void setCityId(String cityId) {
    this.cityId = cityId;
  }

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public String getUpdate_time() {
    return update_time;
  }

  public void setUpdate_time(String update_time) {
    this.update_time = update_time;
  }

  public List<DayWeatherBean> getDayWeathers() {
    return dayWeathers;
  }

  public void setDayWeathers(List<DayWeatherBean> dayWeathers) {
    this.dayWeathers = dayWeathers;
  }

  @Override
  public String toString() {
    return "WeatherBean{" +
            "cityId='" + cityId + '\'' +
            ", city='" + city + '\'' +
            ", update_time='" + update_time + '\'' +
            ", dayWeathers=" + dayWeathers +
            '}';
  }
}
